package com.gec.model.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import com.gec.model.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 评论表
 * </p>
 *
 * @author dafei
 * @since 2024-01-24
 */
@Data
@TableName("itrip_comments")
@EqualsAndHashCode(callSuper = false)
public class ITripComments extends BaseEntity {

    private static final long serialVersionUID = 1L;


    /**
     * 发表空间id
     */
    @TableField("spaceId")
    private Long spaceId;


    /**
     * 评论用户id
     */
    @TableField("userId")
    private Long userId;

    /**
     * 评论用户名
     */
    @TableField(exist = false)
    private String username;


    /**
     * 评论用户头像
     */
    @TableField(exist = false)
    private String userImage;

    /**
     * 评论图片
     */
    @TableField("commentsImage")
    private String commentsImage;


    /**
     * 评论内容
     */
    @TableField("commentsContent")
    private String commentsContent;


}
